/*
 * @Author: xiaxia
 * @Description: 
 * @Date: 2024-06-11 17:47:35
 * @LastEditTime: 2024-06-25 17:37:23
 * @FilePath: \project\src\main.ts
 */
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'virtual:svg-icons-register' // svg插件
import gloablComponent from '@/components';
import '@/styles/index.scss'
import router from './router';
import pinia from './store';
console.log(import.meta.env);


const app = createApp(App)
app.use(gloablComponent);
app.use(ElementPlus, { locale: zhCn })
app.use(router);
import './permisstion'
app.use(pinia);
app.mount('#app')
